<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="my.dao.*"%>


<%
String old=request.getParameter("f_old");
String sex=request.getParameter("f_sex");
String sport=request.getParameter("f_sport");
String clothes=request.getParameter("f_clothes");
String tpi=request.getParameter("f_tpi");
String content=request.getParameter("f_content");
String user=request.getParameter("f_user");

MyDao.update("insert into feedback(f_old,f_sex,f_sport,f_clothes,f_tpi,f_content,f_time,f_user) values(?,?,?,?,?,?,now(),?)",old,sex,sport,clothes,tpi,content,user);

out.print(MyDao.jsonMessage(true, "提交成功！"));
%>